package cn.xianyang.basic.constants;

/**
 * 常量：用final修饰
 * 必须声明的时候初始化 - 不能二次赋值
 */
public class BaseConstant {

    public class RegisterConstants {
        //注册短信验证码key的前缀
        public static final String REGISTER_SMS_PREFIX = "register:";
        //登录短信验证码key的前缀
        public static final String LOGIN_SMS_PREFIX = "login:";

    }
    public class WechatConstants {
        public static final String APPID = "wxd853562a0548a7d0";
        public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
        public static final String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
        public static final String WXUSER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
    }
    public class Http{
        /** fastdfs服务器请求路径前缀 */
        public static final String FASTFDSSERVER_PREFIX = "http://123.207.27.208/";

    }
}
